package studio.wetrack.dinner.db.repo;

import org.springframework.data.jpa.repository.JpaRepository;
import studio.wetrack.dinner.domain.Table;

import java.util.List;

/**
 * Created by zhanghong on 2017/8/12.
 */
public interface TableRepo extends JpaRepository<Table, Long> {
    List<Table> findByCapacityGreaterThanEqual(int capacity);
}

